package com.ychs.lawyer.mapper;

import com.ychs.lawyer.bean.Contract;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: clh
 * @Date: 2024/07/30/10:34
 * @Description:
 */
@Mapper
public interface ContractMapper {
    List<Contract> getContractsByCondition(Contract contract);

    int addContract(Contract contract);

    int editContract(Contract contract);

    int changeContractActive(Contract contract);

}
